import { observable } from "mobx";
export default class ModelData {
  //  //当前路径地址
  @observable xNewPath: any = '';
  @observable xLeftTitle: any = [
    // {
    //   name: '运营管理',
    //   id: 0,
    //   icon: "zt-yonghu-xianxing",
    //   isActive: false,
    //   isShow: false, //子菜单是否展开
    //   children: [
    //     {
    //       url: '/operate-manage/activity-list',
    //       name: '活动管理',
    //       id: 0,
    //       pid: 0,
    //       isActive: false
    //     }
      
    //   ]
    // },
    {
      name: '系统管理',
      id: 0,
      icon: "zt-mobankuangjia",
      isActive: false,
      isShow: false, //子菜单是否展开
      children: [
        {
          url: '/system/member',
          name: '用户管理',
          id: 0,
          pid: 0,
          isActive: false
        },
        {
          url: '/system/community',
          name: '社区管理',
          id: 2,
          pid: 0,
          isActive: false
        },
        {
          url: '/system/department',
          name: '部门管理',
          icon: 'zt-zuzhijiagoujiekou',
          id: 4,
          pid: 0,
          isActive: false
        },
        {
          url: '/system/street',
          name: '街道管理',
          id: 5,
          pid: 0,
          isActive: false
        },
        {
          url: '/system/grid',
          name: '网格管理',
          id: 5,
          pid: 0,
          isActive: false
        },
        {
          url: '/system/complex',
          name: '小区管理',
          id: 6,
          pid: 0,
          isActive: false
        },
      ]
    },
    {
      name: '微民情',
      id: 1,
      icon: "zt-qiyeyuanquwuye-xianxing",
      isActive: false,
      isShow: false, //子菜单是否展开
      children: [
        {
          url: '/minqing/index',
          name: '微民情',
          id: 2,
          pid: 1,
          isActive: false
        }
      ]
    },
    {
      name: '微检查',
      id:2 ,
      icon: "zt-xunjianjianyan",
      isActive: false,
      isShow: false, //子菜单是否展开
      children: [
        {
          url: '/check/index',
          name: '微检查',
          id: 1,
          pid: 2,
          isActive: false
        }
      
      ]
    },
    {
      name: '微调查',
      id: 3,
      icon: "zt-danju-xianxing",
      isActive: false,
      isShow: false, //子菜单是否展开
      children: [
        {
          url: '/question/index',
          name: '微调查',
          id: 0,
          pid: 3,
          isActive: false
        }
      ]
    }, {
      name: '微宣教',
      id: 4,
      icon: "zt-ziliaoshouce-xianxing",
      isActive: false,
      isShow: false, //子菜单是否展开
      children: [
        {
          url: '/pae/index',
          name: '微宣教',
          id: 0,
          pid: 4,
          isActive: false
        },
        {
            url: '/pae/class',
            name: '微宣教类别',
            id: 0,
            pid: 4,
            isActive: false
          }
      ]
    }, 
    {
      name: '统计',
      id: 5,
      icon: "zt-tiaoxingtu",
      isActive: false,
      isShow: false, //子菜单是否展开
      children: [
        {
          url: '/statistics/index',
          name: '统计',
          id: 0,
          pid: 5,
          isActive: false
        },
        {
            url: '/statistics/index',
            name: '按街道统计',
            id: 0,
            pid: 5,
            isActive: false
        },
        {
            url: '/statistics/a',
            name: '民情统计',
            id: 0,
            pid: 5,
            isActive: false
        },
        {
            url: '/statistics/b',
            name: '检查统计',
            id: 0,
            pid: 5,
            isActive: false
        }
      ]
    }
  ]
}
